<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		li:first-child{
			color:red;
		}
		li:last-child{
			color:yellow;
		}
		li:nth-child(3){
			color:deeppink;
		}
		li:nth-last-child(2){
			color:greenyellow;
		}
		li:only-child{
			color:gold;
		}
		#aaa div:first-of-type{

			color:red;
		}
		#aaa p:last-of-type{

			color:gold;
		}
		#aaa p:nth-of-type(2){
			color:gray;
		}

		tr:nth-child(odd){
			color:red;
		}
		tr:hover{

			background-color:green;
		}
	</style>
</head>
<body>
	<ul>
		<li>aaaaaaa</li>
		
	</ul>

	<div id='aaa'>
		<p>1111111111</p>
		<p>2222222222</p>
		<div>aaaaaa</div>
		<div>bbbbbb</div>
		<p>3333333333</p>
		<p>4444444444</p>
	</div>

	<table border=1>
		<tr>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
		</tr>

		<tr>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
		</tr>

		<tr>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
		</tr>

		<tr>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
		</tr>

		<tr>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
		</tr>

		<tr>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
			<td>11111</td>
		</tr>

	</table>
</body>
</html>